package week3;

/**
 * Created by dell on 2017/3/9.
 */
public class CopyArray {
    public static void main(String[] args){
        int[] score1 = {1, 2, 3, 4, 5};
        int[] score2 = new int[score1.length];
        for(int i = 0; i < score1.length; i++ ){
            score2[i] = score1[i];
        }
        for(Integer score : score2){
            System.out.printf("%2d",score);
        }
    }
}
